package com.xuwang.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;

/**
 * 投诉举报表
 */
@ApiModel(value = "投诉举报表")
public class Complaints {
    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private Integer id;

    /**
     * 举报类型
     */
    @ApiModelProperty(value = "举报类型")
    private Integer type;

    /**
     * 举报人
     */
    @ApiModelProperty(value = "举报人")
    private String whistleblower;

    /**
     * 联系电话
     */
    @ApiModelProperty(value = "联系电话")
    private String phone;

    /**
     * 举报内容
     */
    @ApiModelProperty(value = "举报内容")
    private String reportContent;

    /**
     * 举报形式（群众举报等）
     */
    @ApiModelProperty(value = "举报形式（群众举报等）")
    private Integer reportForm;

    /**
     * 投诉时间
     */
    @ApiModelProperty(value = "投诉时间")
    private Date complaintsTime;

    public Integer getId () {
        return id;
    }

    public void setId (Integer id) {
        this.id = id;
    }

    public Integer getType () {
        return type;
    }

    public void setType (Integer type) {
        this.type = type;
    }

    public String getWhistleblower () {
        return whistleblower;
    }

    public void setWhistleblower (String whistleblower) {
        this.whistleblower = whistleblower == null ? null : whistleblower.trim();
    }

    public String getPhone () {
        return phone;
    }

    public void setPhone (String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getReportContent () {
        return reportContent;
    }

    public void setReportContent (String reportContent) {
        this.reportContent = reportContent == null ? null : reportContent.trim();
    }

    public Integer getReportForm () {
        return reportForm;
    }

    public void setReportForm (Integer reportForm) {
        this.reportForm = reportForm;
    }

    public Date getComplaintsTime () {
        return complaintsTime;
    }

    public void setComplaintsTime (Date complaintsTime) {
        this.complaintsTime = complaintsTime;
    }

    @Override
    public String toString () {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", type=").append(type);
        sb.append(", whistleblower=").append(whistleblower);
        sb.append(", phone=").append(phone);
        sb.append(", reportContent=").append(reportContent);
        sb.append(", reportForm=").append(reportForm);
        sb.append(", complaintsTime=").append(complaintsTime);
        sb.append("]");
        return sb.toString();
    }
}